Second Life tutorial: Creating a door that opens and closes Video
Second Life tutorial: Creating a door that opens and closes when you touch it. Full script written. ** Download better quality video + source code at www.slbuilding.com ***
Comments on "Second Life tutorial: Creating a door that opens and closes"
Ok, took much eye ... Ok, took much eye straining and experimentation but i think the correct code up until 4:00 is
touch_start(integer total_number)
{
rotation rot? = llGetLocalRot();
string z = (string)rot.z;
string s = (string)rot.s;
llSay(0, "z = " + z + ", s = "+ s);
Think the video ? ... Think the video ? uploader is long gone folks, s**t
The website on that ... The website on that url is? either bulls**t or down theres no link to download that video.
Can you please post ... Can you please post the script that is required to get the? door to work, I really am struggling to read it from the video. Thanks x
Thank you! Was ... Thank you! Was struggling to understand why a door was pivoting around its center Z axis and now I understand? why. It's years after you did this video, but it's still paying dividends for others. Cheers! :-)
There is a mistake ... There is a mistake in the script shown. it should be? llGetLocalRot() not llSetLocalRot(). Changing this made it work for me.
I've trying it but ... I've trying it but when i do it for postion it goes away
?
ctrl key and ... ctrl key and mousewheel or? + key on keyboard to make video larger to view script
default
{
... default
{
touch_start(integer total_number)
{
rotation rot = llGetLocalRot();
string Z = (string)rot.z;
string S = (string)rot.s; ?
llSay( 0, "Z=" + Z + " S=" + S);
if(rot.z == 0)
{
rot.z = 0.707107;//will depend on which way you rotate your door
rot.s = 0.707107;//will depend on which way you rotate your door
}
else
{
rot.z = 0;
rot.s = 0;
}
llSetLocalRot();
}
}
//code not indented due to youtube character limit
i cant read the ... i cant read the script and the website is? unaviable
can't you just put ... can't you just put it in a comment, becase your website is down. it is close to unreadable, and it doesn't work such as i can see.?
this is a great ... this is a great tutorial! for those who don't? understand it, you need more patients and practice! you probably don't even know what you're doing in the first place
dude? i dont get u ... dude? i dont get u can u add me so u can tell me in personal my name is nickkillian421 whitesong
not bad for? ... not bad for? someone trying to understand the basics so thanks for the upload ^.^
script doesnt work? ... script doesnt work? :(
ok. can you just ... ok. can you just like type out that script down there? i mean come on. and i cant even find the video on slbuilding dotcom, so dont even tell me to download a better quality video? from there.
And a carve? option ... And a carve? option instead of having to learn how to model and waste prims and s**t.
Wow if I knew ... Wow if I knew programming language that would have been really useful. Please just tell me where to get a door script that actually works and works when you link the door to the house. Hell man, how? about writing one and making it available for us builders who are not scripters?
I can't turn the ... I can't turn the door now, nor move my house because the doors open in diagonal. f**king? scripting. can't they just add a "door" option?!?
what did you writ ... what did you writ on the script???
wow...this did not ... wow...this did not help not one single bit?
that did t help at ... that did t help at all i? still dont know what the script is
very? nice very? nice
I posted a video ... I posted a video reply? with the code from this script. Check it out.
Never seen any ... Never seen any being built in Second? Life, pretty amazing. I wasn't sure if you actually in the game at the time or if you were in an external editor. I was quite fascinated by the script editor, looked like Java or Visual Basic. Can't believe it's that easy to create worlds. Great work. Keep 'em coming' :)
What was the? ... What was the? script? I couldnt get it.
Thank you,? Ian! ... Thank you,? Ian! You're a lifesaver!
yeah what if your ... yeah what if your door has more than one prim? I have a door made up of about 7 Prims how do you get that? to work or can you?
Finding Popular Free TV Online
If you are a big fan of free TV, then you will love finding online TV right at your computer at no cost. You can find a wide selection of television shows online, including shows from your favourite series and movies. There are many different websites that offer free TV, but not all of them have the shows that you really want to see.
Download Free Games - No Pop-Ups or Spyware!
Ever got a free game only to discover hours later that your personal information has been stolen? Visited a Web site offering free game downloads that was plagued by pop-up windows? Don't give up! There are still legitimate enterprises giving their visitors to download free games.
Can You Get Free Games For Your Iphone
Are you one of the thousands of Iphone owners who has no idea that they can get free games for their Iphone? It's pretty cool to download things from Itunes, but with a little research you can find thousands of other places to download from -check out our tips below to help you find out where.
Paying For a Free Xbox 360 Elite?
Marketing have had innovations that made Americans grab on to the chance of getting a deal for little to no money involved These happen just about anywhere they see, more often at times on TV like the Shopping Channel and the ever familiar Australian-accented 'but wait, there's more' plug-in that people are familiar of
Steps in Getting a Laptop For Free!
There are certainly millions of people around the world who would cringe in excitement upon learning that they can own a laptop for free Although there are many individuals who would dismiss the advertisements about free laptop programs in different websites as a mere scam, there are still trusted sites in the internet that are guaranteed to give free laptops in exchange of your time, your effort and a little amount of money
A Popular Option: Hands Free Cell Phone Accessory
Hands free cell phone accessories are a popular choice on the market today as the prices of these devices are falling more each day. These hands free cell phone accessories used to be very expensive and really did not work very well. Either the microphone did not transmit what was being said very well, or the headset made the other person's words fuzzy sounding so that the headset would be taken off and the conversation would be held utilizing the phone itself.
Get a Laptop For Free-Find Out How!
You might have come across several advertisements on televisions and even in the internet that entice you to join their programs in order to get a free laptop You might just shrug your shoulder when you see these advertisements
Free Laptop For Students - Get Totally Free Laptops Here!
Getting a Free Laptop has become a new trend. A "Get a Free Laptop" website owner was recently interviewed by CNN - since then the site's laptop giveaway had skyrocketed!